package org.itstack.demo.design;

import com.alibaba.fastjson.JSON;
import org.itstack.demo.design.mq.Create_account;

/**
 * @Author: fanYuLe
 * @CreateTime: 2023-12-15  17:05
 * @Description:
 */
public class Cteate_AccountMqService {

    public void onMessage(String message){
        Create_account mq = JSON.parseObject(message, Create_account.class);
        mq.getNumber();
        mq.getAccountDate();

        //...处理自己的业务
    }
}
